/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entidades.excepciones;

/**
 *
 * @author Administrador
 */
public class RepeatedWOException extends Exception{
    
    private String woRepetida;
    
    public RepeatedWOException(String woRepetida){
        this.woRepetida = woRepetida;
    }

    @Override
    public String getMessage() {
        return "La Orden de Trabajo "+woRepetida+" ya existe. Ingrese otra.";
    }
    
    
}
